package com.yue92.datalife.service;

import java.util.concurrent.Callable;
import java.util.concurrent.Future;

public interface ICustomExecutor {

    void execute(Runnable command);

    <T> Future<T> submit(Callable<T> task);

    void setParams(int coreSize, int maxSize);
}
